package ca.uvic.group2.server;

import java.rmi.RemoteException;
import ca.uvic.group2.api.exceptions.*;
import java.rmi.Remote;

public interface RemoteServer extends Remote {
    void serverStart(int port) throws RemoteException, CommException;
    void serverStop() throws RemoteException, CommException;
    void setServerName(String name) throws RemoteException;
    String getServerName() throws RemoteException;
    String getHostName() throws RemoteException;
}
